package com.EE7th.dao;

import com.EE7th.domain.Student;
import com.EE7th.dto.StudentDTO;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface StudentDao {

    void insertStudent(Student student);

    List<StudentDTO> pageQuery();

    Student getById(int studentId);

    void deleteStudent(int studentId);

    void updateStudent(Student student);
}